@titleColor: #333333;
@textColor: #666666;
@tipColor: #999999;
@borderColor: #dddddd;
html,
body,
#app {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font: 12px/1.5 tahoma, arial, "Hiragino Sans GB", \5b8b\4f53, sans-serif;
    font-family: "PingFangSC", "helvetica neue", "hiragino sans gb", "arial", "microsoft yahei ui", "microsoft yahei", "simsun", "sans-serif" !important;
}

::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 4px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 4px;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    border-radius: 0;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.center_vertical {
    display: flex;
    align-items: center;
}

.center_horizontal {
    display: flex;
    justify-content: center;
}

.text_limit_length {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text_limit_height {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.main {
    width: 100%;
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
    padding: 15px;
}

.container {
    width: 100%;
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
    display: flex;
    &.vertical {
        flex-flow: column;
    }
    .header {
        z-index: 10;
        height: 60px;
        box-sizing: border-box;
        background-color: #fff;
        border-bottom: 2px solid @borderColor;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
    }
    .sidebar {
        width: 15rem;
        height: 100%;
        box-sizing: border-box;
        background-color: #fff;
        padding: 10px 0;
        border-right: 1px solid @borderColor;
    }
}